﻿@addTagHelper *, WebVella.Erp.Plugins.Core
@addTagHelper *, WebVella.Erp.Web
@addTagHelper *, WebVella.TagHelpers
@using WebVella.Erp.Web.Utils;
@using WebVella.Erp.Web.Components;
@using WebVella.Erp.Web.Models;
@{
	var options = (PcSection.PcSectionOptions)ViewBag.Options;
	var node = (PageBodyNode)ViewBag.Node;

}
<wv-section id="wv-@(node.Id)" body-class="@options.BodyClass" class="@options.Class" field-mode="@options.FieldMode"
	label-mode="@options.LabelMode" is-card="@options.IsCard" is-collapsable="@options.IsCollapsable" is-collapsed="@options.IsCollapsed"
	title="@ViewBag.ProcessedTitle" title-tag="@options.TitleTag">
	<wv-pb-node-container parent-node-id="@node.Id" container-id="body"></wv-pb-node-container>
</wv-section>